package com.wxtech.heartbeat.exception;



public class DecoderException extends BaseException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1170219899894149330L;
	
	public static final int NO_ERROR = 0x00;
	public static final int SYSTEM_ERROR = 0xFF;	
	
	public static final int SUMCHECK_ERROR = 0x01;
	public static final int PROTOCOL_VERSION_ERROR = 0x02;
	public static final int SEQ_OF_FRAME_ERROR = 0x03;	
	public static final int ENCRYPTION_KEY_VERSION_ERROR = 0x04;	
	public static final int BYTE_ERROR = 0x05;
	public static final int DATA_CONTENT_ERROR = 0x06;	
	public static final int UNKNOWN_CMD_CODE_ERROR = 0x07;
	public static final int CONTROL_CHAR_ERROR  = 0x08;
	
	
	public DecoderException() {
		super();
		// TODO Auto-generated constructor stub
	}


	
	public DecoderException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
		// TODO Auto-generated constructor stub
	}

	public DecoderException(String message, Throwable cause) {
		super(message, cause);
		// TODO Auto-generated constructor stub
	}

	public DecoderException(String message) {
		super(message);
		// TODO Auto-generated constructor stub
	}

	public DecoderException(Throwable cause) {
		super(cause);
		// TODO Auto-generated constructor stub
	}

	
}
